/**
 * create by Alec
 */
import { handleActions } from "redux-actions";

// 定义reducer
const reducer = handleActions(
    {
        PERSONNEL_WEEKLY: (state, action) => ({
            ...state,
            weekly: action.payload,
        }),
    },
    {}
);
export default reducer;
